<? /*
<table>
    
    <?php
        $startweight="";
        foreach ($this->fee as $item) {
            if($item->startweight!=$startweight)
            {
                echo '<tr class="hui">
                        <td class="i1">快递公司</td>
                        <td class="i2">首重'.$item->startweight.'g<em>(官方/悠奇价)</em></td>
                        <td class="i3">续重'.$item->weight.'g<em>(官方悠奇价)</em></td>
                        <td class="i4">送货期限<em>(工作日)</em></td>
                    </tr>';
                $startweight=$item->startweight;
            }
                echo     '<tr>
                    <td class="i1">'.$item->shipTypeName.'</td>
                    <td class="i2"><span>￥'.$item->startPrice.'</span><i>/</i><strong>￥'.$item->uustartPrice.'</strong></td>
                    <td class="i3"><span>￥'.$item->price.'</span><i>/</i><strong>￥'.$item->uuprice.'</strong></td>
                    <td class="i4">'.$item->times.'个工作日左右</td>
                </tr>';
        }
    ?>
</table>
 * 
 */ ?>
<table>
    <?
    $fristWeight=0;
    $prices = array_reverse(Uuch_Util::quickSort($this->prices, 'FirstWeight'));
    foreach ($prices as $item){ ?>
    <?
    if($item->ExpressId == Application_Model_Express::Express_DHLBrand){
        continue;
    }
    if ($fristWeight != $item->FirstWeight){ ?>
    <tr class="hui">
        <td class="i1">快递公司</td>
        <td class="i2">首重<?= $item->FirstWeight ?>g<em>(官方/悠奇价)</em></td>
        <td class="i3">续重<?= $item->SubsequentWeight ?>g<em>(官方/悠奇价)</em></td>
        <td class="i4">送货期限<em>(天)</em></td>
    </tr>
    <? 
    $fristWeight = $item->FirstWeight;
    } ?>
    <tr>
        <td class="i1"><?= $item->getExpress()->Name ?></td>
        <td class="i2"><span>￥<?= $item->FirstReport ?></span><i>/</i><strong>￥<?= $item->FirstPrice ?></strong></td>
        <td class="i3"><span>￥<?= $item->SubsequentReport ?></span><i>/</i><strong>￥<?= $item->SubsequentPrice ?></strong></td>
        <td class="i4"><?= $item->Times ?>天左右</td>
    </tr>
    <? } ?>
</table>